package cn.myjerry.io.others;

public class Employee implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	// 不需要序列化
	private transient String Name;
	private int salary;
	public Employee() {
	}
	public Employee(String name, int salary) {
		super();
		Name = name;
		this.salary = salary;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
}
